<template>
	<input type="text" :value="title" @input="$emit('update:title', $event.target.value)">
</template>

<script setup>
	const props = defineProps({
		title: String,
		// 用于接收各种修饰符
		modelModifiers: { default: () => ({}) }
	})
	const emit = defineEmits(['update:title'])
	console.log(props)
	console.log(props.modelModifiers)
</script>

<style>
</style>